import request from '@/utils/request'

// 查询联系人信息
export function pageList(data) {
  return request({
    url: '/faceInfo/pageList',
    method: 'post',
    data
  })
}

//新增人脸信息
export function operationFaceSync(data) {
  return request({
    url: '/faceInfo/operationFaceSync',
    method: 'post',
    data
  })
}

//修改人脸信息
export function updateFaceSync(data) {
  return request({
    url: '/faceInfo/updateFaceSync',
    method: 'post',
    data
  })
}

//删除人脸信息
export function deleteFaceSync(data) {
  return request({
    url: '/faceInfo/deleteFaceSync',
    method: 'post',
    data
  })
}

// 批量对人脸信息进行增删改
export function batchCurdFaceSync(data, type) {
  return request({
    url: '/faceInfo/batchCurdFaceSync?type=' + type,
    method: 'post',
    data
  })
}


export function synchronous() {
  return request({
    url: '/faceInfo/synchronous',
    method: 'post',
  })
}
